<!DOCTYPE html>
<!-- saved from url=(0041)https://getbootstrap.net/example/sign-in/ -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Jekyll v4.0.1">
    <title>听风 Blog</title>

    <link rel="canonical" href="https://getbootstrap.com/docs/4.5/examples/sign-in/">

    <!-- Bootstrap core CSS -->
<link href="css/login.css" rel="stylesheet">

    <style>
      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
    </style>
    <!-- Custom styles for this template -->
    <script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.min.js"></script>
    <link href="css/signin.css" rel="stylesheet">
  </head>
  <body class="text-center">
    <form class="form-signin" method="GET" action="/login.html">
  <img class="mb-4" src="img/tf.png" alt="" width="125" height="125">
  <h1 class="h3 mb-3 font-weight-normal">登录</h1>
  <label for="inputEmail" class="sr-only"></label>
  <input type="email" id="inputEmail" class="form-control" placeholder="邮箱" required="" autofocus="">
  <label for="inputPassword" class="sr-only"></label>
  <input type="password" id="inputPassword" class="form-control" placeholder="密码" required="">
  <div class="checkbox mb-3">
    <label>
      <input type="checkbox" value="remember-me"> 记住我
    </label>
  </div>
  <button class="btn btn-lg btn-primary btn-block" type="submit" onclick="get_account()">登录</button>
  <p class="mt-5 mb-3 text-muted">©听风 2019-2020</p>
</form>

<script>
  
  function get_account() {
    console.log("123123123123")
      var yx = document.getElementById('inputEmail')
      var pwd = document.getElementById('inputPassword')
      var md5pwd = document.getElementById('inputPassword')
      console.log(yx.value)
      //MD5算法
      //pwd.value = md5(pwd.value)
      md5pwd.value = md5(pwd.value)
      
  }
</script>


</body></html>